
public class VbGenerics {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		//declaratie1
		Testing<Integer> ti;
		ti=new Testing<Integer>(3);
		System.out.println(ti.getX());
		
		//declaratie2
		Testing<String> ts;
		ts=new Testing<String>("Generic***");
		System.out.println(ts.getX());
		
		Testing<Cursus> tc;
		tc= new Testing<Cursus>(new Cursus (7,"Java",100));
		System.out.println(tc.getX());

	}

}
